package com.tutk.util;

import android.app.Application;

/**
 * 提取全局变量
 */
public class MyApplication extends Application {
    private static byte[] vBuffer;//视频流
    private static byte[] aBuffer;//音频流

    public static void setVideoBuffer(byte[] videoBuffer) {
        vBuffer = videoBuffer;
    }

    public static byte[] getVideoBuffer() {
        return vBuffer;
    }

    public static void setAudioBuffer(byte[] audioBuffer) {
        aBuffer = audioBuffer;
    }

    public static byte[] getAudioBuffer() {
        return aBuffer;
    }
}
